/**
 * 
 */
var title_c = 'GPT - Mensaje';
function submitForm(action, form) {
	form = "#" + form;

	$(form).attr("action", action);

	$(form).submit();
}

function submitFormConfirma(action, form, msj) {
	jConfirm(msj, title_c, function(r) {
	    if (r == true) {
	    	form = "#" + form;
			$(form).attr("action", action);
			$(form).submit();
	    }
	});
}

function cancelar(msj) {
	jConfirm(msj, title_c, function(r) {
	    return r;
	});
}
